package info.androidhive.slidingmenu;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.curso.lacarta.MainScreen;
import com.curso.login.GCMIntentService;
import com.curso.login.R;

public class NotificationDetailsFragment extends Fragment {
	
	public NotificationDetailsFragment(){}
	
	@Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {
 
        View rootView = inflater.inflate(R.layout.fragment_notification, container, false);
        TextView description =(TextView) rootView.findViewById(R.id.notification_description);
        GCMIntentService.pendingNotifications--;
        description.setText(getActivity().getIntent().getStringExtra("description"));
        return rootView;
    }
}
